Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚇🩹 Use pinned versions of dependencies to run integration CI tests #892

Merged
merged 2 commits into from
Nov 6, 2021

Conversation

s-weigand
Copy link
Member

@s-weigand s-weigand commented Nov 6, 2021

Currently, the integration tests CI installs the latest versions available and allowed by pyglotarans setup.cfg. I case of a breaking update in a dependency this breaks all CI workflows, thus it is better to use the pinned versions from 'requirements_dev.txt' so only breaking changes break the CI.

An example can be seen in PR #890 and this CI run, where the CI breaks because of a new version of xarray which is unrelated to the PR itself.

Change summary

  • 🚇🩹 Use pinned version of dependencies to run integration tests
  • 🚇👌 Add step to show installed packages for debugging purposes

Checklist

  • ✔️ Passing the tests (mandatory for all PR's)

Currently, the integration tests CI installs the latest versions available and allowed by 'pyglotaran's 'setup.cfg'. I case of a breaking update in a dependency this breaks all CI workflows, thus it is better to use the pinned versions from 'requirements_dev.txt' so only breaking changes break the CI.
@s-weigand s-weigand requested a review from a team as a code owner November 6, 2021 18:42
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2021

Binder 👈 Launch a binder notebook on branch s-weigand/pyglotaran/fix-itegration-ci

@s-weigand s-weigand changed the title Fix itegration ci 🚇🩹 Use pinned versions of dependencies to run integration CI tests Nov 6, 2021
@sonarcloud
Copy link

sonarcloud bot commented Nov 6, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.7% 0.7% Duplication

@codecov
Copy link

codecov bot commented Nov 6, 2021

Codecov Report

Merging #892 (79397c4) into main (d05c042) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #892   +/-   ##
=====================================
  Coverage   84.7%   84.7%           
=====================================
  Files         81      81           
  Lines       4596    4596           
  Branches     849     849           
=====================================
  Hits        3897    3897           
  Misses       558     558           
  Partials     141     141           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d05c042...79397c4. Read the comment docs.

Copy link
Member

@jsnel jsnel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. 👍

@jsnel jsnel merged commit efc333a into glotaran:main Nov 6, 2021
@s-weigand s-weigand deleted the fix-itegration-ci branch November 6, 2021 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants